package www.wackyboy.top;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * @Author: WackyBoy
 * @Date: 2021/1/4 20:17
 */

@Data
public class Employee implements Serializable {
    private Integer id;

    private String name;

    private String gender;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date birthday;

    private String idCard;

    private String nationId;

    private String nativePlace;     // 籍贯

    private String politicId;       // 政治面貌

    private String email;

    private String phone;

    private String address;

    private Integer deptId;

    private Integer posId;

    private String deptName;

    private String avatar;

    private String topDegree;

    private String school;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date beginData;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private Date endContract;       // 合同终止日期
}
